import httpRequest from './index'

export function getMenu(params) {
  return httpRequest({
    url: '/chapters/getMenu',
    method: 'get',
    params,
  })
}
export function getDetail(params) {
  return httpRequest({
    url: '/chapters/read',
    method: 'get',
    params,
  })
}
